TGT_FILE="\
makefile \
eai2host.c \
h2eSimpcl_a.c \
h2eSimpcl_s.c \
host2eai.c \
mksvr \
svrup \
svrup_all.sh
"

TGT_DIR1=/EAI/eaiDomains/tuxdomain/src/app

function getsrc
{

echo -- target : $1
ftp -n <<!
open $1
user $2 $3
bi
pwd
prompt
cd $TGT_DIR1
mget ${TGT_FILE}
bye

!
}

function dstr
{

echo -- target : $1
ftp -n <<!
open $1
user $2 $3
pwd
prompt
cd $TGT_DIR1
mput ${TGT_FILE}
bye

!
}

echo $TGT_FILE
#getsrc 10.55.2.160 mhub01 fckcs24
#getsrc 10.55.2.140 mhub01 team01
getsrc 10.55.2.130 mhub01 fckcs24

dstr 10.55.2.160 mhub01 fckcs24
dstr 10.55.2.161 mhub01 fckcs24
dstr 10.55.2.140 mhub01 team01
dstr 10.55.2.141 mhub01 team01
#dstr 10.55.2.130 mhub01 fckcs24
dstr 10.55.2.131 mhub01 fckcs24
